<template>
    <el-config-provider :locale="locale">
        <router-view />
    </el-config-provider>
</template>

<script>
import { ElConfigProvider } from 'element-plus';
import zhCn from 'element-plus/es/locale/lang/zh-cn'
export default {
  components:{
    ElConfigProvider
  },
  setup(){
    return{
      locale: zhCn
    }
  }
}
</script>

<style scoped>
</style>